package com.gluck.cases.app.biz.impl;

import com.gluck.cases.core.modal.dto.PermissionListDTO;
import com.gluck.cases.core.modal.entity.Permission;

import java.util.List;

/**
 * @ClassName PermissionService
 * @Desc PermissionService
 * @Author I am Gluck
 * @Date 2022/5/17 - 8:33 下午
 **/
public interface PermissionService {

    List<Permission> findPermissionByRoleName(String name);

    List<Permission> queryPermissionListByPid(Long pid);

    List<PermissionListDTO> queryPermissionList();

    boolean syncPermission();



}
